package com.example.baiduai.entity;

/**
 * @author wangyizhu
 * @version "1.8.0_131"
 * @email 2641956765@qq.com
 * @desc:
 * @Time 2022/09/27 9:20
 */
public class Emotion {
    private int id;
    private String text;
   private String emotion_dir;
   private String confidence;
   private String positive_prob;
   private String negative_prob;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getEmotion_dir() {
        return emotion_dir;
    }

    public void setEmotion_dir(String emotion_dir) {
        this.emotion_dir = emotion_dir;
    }

    public String getConfidence() {
        return confidence;
    }

    public void setConfidence(String confidence) {
        this.confidence = confidence;
    }

    public String getPositive_prob() {
        return positive_prob;
    }

    public void setPositive_prob(String positive_prob) {
        this.positive_prob = positive_prob;
    }

    public String getNegative_prob() {
        return negative_prob;
    }

    public void setNegative_prob(String negative_prob) {
        this.negative_prob = negative_prob;
    }

    public Emotion() {
    }

    public Emotion(int id, String text, String emotion_dir, String confidence, String positive_prob, String negative_prob) {
        this.id = id;
        this.text = text;
        this.emotion_dir = emotion_dir;
        this.confidence = confidence;
        this.positive_prob = positive_prob;
        this.negative_prob = negative_prob;
    }

    @Override
    public String toString() {
        return "Emotion{" +
                "id=" + id +
                ", text='" + text + '\'' +
                ", emotion_dir='" + emotion_dir + '\'' +
                ", confidence='" + confidence + '\'' +
                ", positive_prob='" + positive_prob + '\'' +
                ", negative_prob='" + negative_prob + '\'' +
                '}';
    }
}
